/*
Digital Image Processing - Final Project
9 December 2011

Joseph Dombrowski
Josh Dixon
Junmo An
*/

#include "common.h"

#ifndef Line_h
#define Line_h
class Line
{
	public:
		Line(pointD start, pointD end);

		double distFrom(pointD here);
		pointD intersect(Line theline, bool& isIntersect);
		double getSlope();
		double yint();
		bool Vertical();
		bool Horizontal();
		double getX(double y);
		double getY(double x);

	private:
		pointD start;
		pointD end;
		double slope;
		double length;
		double Yint;
		bool vertical;
};
#endif